[INFO] fetching crate kart-apple-gl 0.4.41...
[INFO] checking kart-apple-gl-0.4.41 against master#4eb62535fc12dd1a63fd43a4173e224e79313c4d for pr-158816
[INFO] extracting crate kart-apple-gl 0.4.41 into /workspace/builds/worker-5-tc1/source
[INFO] started tweaking crates.io crate kart-apple-gl 0.4.41
[INFO] finished tweaking crates.io crate kart-apple-gl 0.4.41
[INFO] tweaked toml for crates.io crate kart-apple-gl 0.4.41 written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate kart-apple-gl 0.4.41 on toolchain 4eb62535fc12dd1a63fd43a4173e224e79313c4d
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4eb62535fc12dd1a63fd43a4173e224e79313c4d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4eb62535fc12dd1a63fd43a4173e224e79313c4d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 23 packages to latest compatible versions
[INFO] [stderr]       Adding glfw v0.53.0 (available: v0.62.0)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4eb62535fc12dd1a63fd43a4173e224e79313c4d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded glfw v0.53.0
[INFO] [stderr]   Downloaded glfw-sys v4.0.0+3.3.5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] dc59492fcf5c9b670bcf907d75a3f736436fde71b886d3484d9aec9670d971aa
[INFO] running `Command { std: "docker" "start" "dc59492fcf5c9b670bcf907d75a3f736436fde71b886d3484d9aec9670d971aa", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "dc59492fcf5c9b670bcf907d75a3f736436fde71b886d3484d9aec9670d971aa", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "dc59492fcf5c9b670bcf907d75a3f736436fde71b886d3484d9aec9670d971aa" "/opt/rustwide/cargo-home/bin/cargo" "+4eb62535fc12dd1a63fd43a4173e224e79313c4d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "dc59492fcf5c9b670bcf907d75a3f736436fde71b886d3484d9aec9670d971aa", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "dc59492fcf5c9b670bcf907d75a3f736436fde71b886d3484d9aec9670d971aa" "/opt/rustwide/cargo-home/bin/cargo" "+4eb62535fc12dd1a63fd43a4173e224e79313c4d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling khronos_api v3.1.0
[INFO] [stderr]    Compiling xml-rs v0.8.28
[INFO] [stderr]    Compiling cgmath v0.18.0
[INFO] [stderr]     Checking raw-window-handle v0.5.2
[INFO] [stderr]    Compiling cmake v0.1.58
[INFO] [stderr]     Checking approx v0.4.0
[INFO] [stderr]    Compiling glfw-sys v4.0.0+3.3.5
[INFO] [stderr]    Compiling gl_generator v0.14.0
[INFO] [stderr]    Compiling gl v0.14.0
[INFO] [stderr]     Checking glfw v0.53.0
[INFO] [stderr]     Checking kart-apple-gl v0.4.41 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `gl::types::GLuint`
[INFO] [stdout]  --> src/core/application.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use gl::types::GLuint;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Action` and `Key`
[INFO] [stdout]  --> src/core/application.rs:4:28
[INFO] [stdout]   |
[INFO] [stdout] 4 | use glfw::{flush_messages, Action, Key, WindowEvent, Context};
[INFO] [stdout]   |                            ^^^^^^  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::alloc::System`
[INFO] [stdout]  --> src/core/application.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::alloc::System;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::Read`
[INFO] [stdout]  --> src/core/application.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::io::Read;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ops::Deref`
[INFO] [stdout]  --> src/core/application.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::ops::Deref;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `GLchar`
[INFO] [stdout]  --> src/core/attribute.rs:2:17
[INFO] [stdout]   |
[INFO] [stdout] 2 | use gl::types::{GLchar, GLsizeiptr, GLuint};
[INFO] [stdout]   |                 ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/core/attribute.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `mem`
[INFO] [stdout]  --> src/core/attribute.rs:7:11
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::{mem, ptr};
[INFO] [stdout]   |           ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::f32::consts::PI`
[INFO] [stdout]  --> src/core/camera.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::f32::consts::PI;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `WindowEvent`
[INFO] [stdout]  --> src/core/scaffold.rs:2:59
[INFO] [stdout]   |
[INFO] [stdout] 2 | use glfw::{Action, Key, Modifiers, MouseButton, Scancode, WindowEvent};
[INFO] [stdout]   |                                                           ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::any::Any`
[INFO] [stdout]  --> src/core/uniform.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::any::Any;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `gl::types::GLuint`
[INFO] [stdout]  --> src/core/application.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use gl::types::GLuint;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Action` and `Key`
[INFO] [stdout]  --> src/core/application.rs:4:28
[INFO] [stdout]   |
[INFO] [stdout] 4 | use glfw::{flush_messages, Action, Key, WindowEvent, Context};
[INFO] [stdout]   |                            ^^^^^^  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::alloc::System`
[INFO] [stdout]  --> src/core/application.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::alloc::System;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::Read`
[INFO] [stdout]  --> src/core/application.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::io::Read;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ops::Deref`
[INFO] [stdout]  --> src/core/application.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::ops::Deref;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `GLchar`
[INFO] [stdout]  --> src/core/attribute.rs:2:17
[INFO] [stdout]   |
[INFO] [stdout] 2 | use gl::types::{GLchar, GLsizeiptr, GLuint};
[INFO] [stdout]   |                 ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/core/attribute.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `mem`
[INFO] [stdout]  --> src/core/attribute.rs:7:11
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::{mem, ptr};
[INFO] [stdout]   |           ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::f32::consts::PI`
[INFO] [stdout]  --> src/core/camera.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::f32::consts::PI;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `WindowEvent`
[INFO] [stdout]  --> src/core/scaffold.rs:2:59
[INFO] [stdout]   |
[INFO] [stdout] 2 | use glfw::{Action, Key, Modifiers, MouseButton, Scancode, WindowEvent};
[INFO] [stdout]   |                                                           ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::any::Any`
[INFO] [stdout]  --> src/core/uniform.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::any::Any;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/core/application.rs:75:13
[INFO] [stdout]    |
[INFO] [stdout] 75 |         let mut events: Vec<(f64, WindowEvent)> =
[INFO] [stdout]    |             ----^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/core/window.rs:21:14
[INFO] [stdout]    |
[INFO] [stdout] 21 |         let (mut window, events) = glfw
[INFO] [stdout]    |              ----^^^^^^
[INFO] [stdout]    |              |
[INFO] [stdout]    |              help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `make_current` is never used
[INFO] [stdout]   --> src/core/window.rs:35:8
[INFO] [stdout]    |
[INFO] [stdout] 18 | impl Window {
[INFO] [stdout]    | ----------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 35 |     fn make_current(&mut self) {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/core/application.rs:75:13
[INFO] [stdout]    |
[INFO] [stdout] 75 |         let mut events: Vec<(f64, WindowEvent)> =
[INFO] [stdout]    |             ----^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/core/window.rs:21:14
[INFO] [stdout]    |
[INFO] [stdout] 21 |         let (mut window, events) = glfw
[INFO] [stdout]    |              ----^^^^^^
[INFO] [stdout]    |              |
[INFO] [stdout]    |              help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `scancode`
[INFO] [stdout]    --> src/lib.rs:186:47
[INFO] [stdout]     |
[INFO] [stdout] 186 |         unsafe fn on_key(&mut self, key: Key, scancode: Scancode, action: Action, modifiers: Modifiers, app: &mut KartApple) {
[INFO] [stdout]     |                                               ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scancode`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `action`
[INFO] [stdout]    --> src/lib.rs:186:67
[INFO] [stdout]     |
[INFO] [stdout] 186 |         unsafe fn on_key(&mut self, key: Key, scancode: Scancode, action: Action, modifiers: Modifiers, app: &mut KartApple) {
[INFO] [stdout]     |                                                                   ^^^^^^ help: if this is intentional, prefix it with an underscore: `_action`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `modifiers`
[INFO] [stdout]    --> src/lib.rs:186:83
[INFO] [stdout]     |
[INFO] [stdout] 186 |         unsafe fn on_key(&mut self, key: Key, scancode: Scancode, action: Action, modifiers: Modifiers, app: &mut KartApple) {
[INFO] [stdout]     |                                                                                   ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_modifiers`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `app`
[INFO] [stdout]    --> src/lib.rs:186:105
[INFO] [stdout]     |
[INFO] [stdout] 186 |         unsafe fn on_key(&mut self, key: Key, scancode: Scancode, action: Action, modifiers: Modifiers, app: &mut KartApple) {
[INFO] [stdout]     |                                                                                                         ^^^ help: if this is intentional, prefix it with an underscore: `_app`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `button`
[INFO] [stdout]    --> src/lib.rs:197:39
[INFO] [stdout]     |
[INFO] [stdout] 197 |         unsafe fn on_mouse(&mut self, button: MouseButton, action: Action, modifiers: Modifiers, app: &mut KartApple) {
[INFO] [stdout]     |                                       ^^^^^^ help: if this is intentional, prefix it with an underscore: `_button`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `action`
[INFO] [stdout]    --> src/lib.rs:197:60
[INFO] [stdout]     |
[INFO] [stdout] 197 |         unsafe fn on_mouse(&mut self, button: MouseButton, action: Action, modifiers: Modifiers, app: &mut KartApple) {
[INFO] [stdout]     |                                                            ^^^^^^ help: if this is intentional, prefix it with an underscore: `_action`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `modifiers`
[INFO] [stdout]    --> src/lib.rs:197:76
[INFO] [stdout]     |
[INFO] [stdout] 197 |         unsafe fn on_mouse(&mut self, button: MouseButton, action: Action, modifiers: Modifiers, app: &mut KartApple) {
[INFO] [stdout]     |                                                                            ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_modifiers`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `app`
[INFO] [stdout]    --> src/lib.rs:197:98
[INFO] [stdout]     |
[INFO] [stdout] 197 |         unsafe fn on_mouse(&mut self, button: MouseButton, action: Action, modifiers: Modifiers, app: &mut KartApple) {
[INFO] [stdout]     |                                                                                                  ^^^ help: if this is intentional, prefix it with an underscore: `_app`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `app`
[INFO] [stdout]    --> src/lib.rs:200:65
[INFO] [stdout]     |
[INFO] [stdout] 200 |         unsafe fn on_resize(&mut self, width: i32, height: i32, app: &mut KartApple) {
[INFO] [stdout]     |                                                                 ^^^ help: if this is intentional, prefix it with an underscore: `_app`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `app`
[INFO] [stdout]    --> src/lib.rs:204:39
[INFO] [stdout]     |
[INFO] [stdout] 204 |         unsafe fn on_clean(&mut self, app: &mut KartApple) {
[INFO] [stdout]     |                                       ^^^ help: if this is intentional, prefix it with an underscore: `_app`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `make_current` is never used
[INFO] [stdout]   --> src/core/window.rs:35:8
[INFO] [stdout]    |
[INFO] [stdout] 18 | impl Window {
[INFO] [stdout]    | ----------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 35 |     fn make_current(&mut self) {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.75s
[INFO] running `Command { std: "docker" "inspect" "dc59492fcf5c9b670bcf907d75a3f736436fde71b886d3484d9aec9670d971aa", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "dc59492fcf5c9b670bcf907d75a3f736436fde71b886d3484d9aec9670d971aa", kill_on_drop: false }`
[INFO] [stdout] dc59492fcf5c9b670bcf907d75a3f736436fde71b886d3484d9aec9670d971aa
